package com.frank.subject.application.convert;

import com.frank.subject.application.dto.SubjectLabelDto;
import com.frank.subject.domain.entity.SubjectLabelBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 题目分类转换BO
 * @author Climb Zou
 * @version v0.0.1
 * @date 2024/1/19 17:22
 */
@Mapper
public interface SubjectLabelDtoConverter {

    SubjectLabelDtoConverter INSTANCE = Mappers.getMapper(SubjectLabelDtoConverter.class);

    SubjectLabelBo convertDTOToLabelBO(SubjectLabelDto subjectLabelDTO);

    SubjectLabelDto convertLabelBOToDTO(SubjectLabelBo subjectLabelBO);

    List<SubjectLabelDto> convertBOListToLabelDTOList(List<SubjectLabelBo> subjectLabelBOS);

}
